package com.hqhsc.module.front.activity.service;

import com.hqhsc.core.cache.CacheKey;
import com.hqhsc.module.common.service.CommonService;
import com.hqhsc.module.common.service.ManageMemcacdedClient;
import com.hqhsc.module.front.activity.dao.SignDao;
import com.hqhsc.module.front.activity.dao.SignupDao;
import com.hqhsc.module.init.service.InitService;
import com.hqhsc.module.manage.activity.domain.Activity;
import com.hqhsc.module.manage.channel.domain.Channel;
import com.hqhsc.utils.DateTimeUtil;
import com.hqhsc.utils.DateUtil;
import com.hqhsc.utils.Utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Properties;

/**
 *
 * @author jiangyin
 */
@Service
public class SignService {

	static Logger logger = LoggerFactory.getLogger(SignService.class);

	@Autowired
	private SignDao signDao;

    /**
     * 活动用户，现场扫码签到
     * @param activity_id
     * @param dn
     * @return
     */
    public int activityUserDoSign(long activity_id , String dn) {
        return this.signDao.activityUserDoSign(activity_id , dn);
    }

}
